package com.task.common.utils.date;

public final class DateConstants {
  public static final long TOKEN_EXPRESS_MINUTES = (60 * 24); // 3小时

  public static final int HTTPSTATUS_CODE_SUCCESS = 200;

  public static final int NUM_ZERO = 0;
  public static final int NUM_ONE = 1;
  public static final int NUM_TWO = 2;
  public static final int NUM_THREE = 3;
  public static final int NUM_FIVE = 5;
  public static final int NUM_SEVEN = 7;
  public static final int NUM_TEN = 10;
  public static final int NUM_ONE_HUNDRED = 100;
  // 头部 token令牌key.
  public static final String HEADER_AUTHORIZATION_KEY = "token";

  // 验证码redis key前缀.
  public static final String VALIDATE_REDIS_KEY_PREFIX = "validate_code_";
  public static final String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
  public static final String DATE_FORMAT_FULL_CN = "yyyy年MM月dd日HH时mm分";
  public static final String DATE_FORMAT_FULL_CNST = "yyyy年MM月dd日HH时";
  public static final String DATE_FORMAT_HOUR = "yyyy-MM-dd HH:00:00";
  public static final String DATE_FORMAT_MIN = "yyyy-MM-dd HH:mm:00";
  public static final String DATE_FORMAT_UTC = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'";
  public static final String DATE_FORMAT_DATE = "yyyy-MM-dd";
  public static final String DATE_FORMATCN_DATE = "yyyy年MM月dd日";
  public static final String DATE_FORMATCN_MDDATE = "MM月dd日";
  public static final String DATE_FORMATCN_MDDATE_SIMPLE = "M月d日";
  public static final String DATE_MDH_SIMPLE = "M月d日HH时";
  public static final String DATE_DH_SIMPLE = "d日HH时";
  public static final String DATE_FORMAT_YEAR = "yyyy";
  public static final String DATE_FORMAT_MONTH_DATE = "MM-dd";
  public static final String DATE_FORMAT_MONTH_ONLY = "MM";
  public static final String DATE_FORMAT_MONTH = "yyyy-MM";
  public static final String DATE_TIME_FORMAT_NUM = "yyyyMMddHHmmss";
  public static final String DATE_TIME_FORMAT_SM = "yyyyMMddHHmm";
  public static final String DATE_TIME_FORMAT_HOUR = "yyyyMMddHH";
  public static final String DATE_FORMAT_NUM = "yyyyMMdd";
  public static final String DATE_FORMAT_YM = "yyyyMM";
  public static final String MONTH_DATE_FORMAT_NUM = "MMdd";
  public static final String DATE_FORMAT_START = "yyyy-MM-dd 00:00:00";
  public static final String DATE_FORMAT_END = "yyyy-MM-dd 23:59:59";
  public static final String DATE_FORMAT_AM8 = "yyyy-MM-dd 08:00:00";
  public static final String DATE_FORMAT_PM8 = "yyyy-MM-dd 20:00:00";
  public static final String DATE_FORMAT_MONTH_START = "yyyy-MM-01 00:00:00";
  public static final String DATE_MONTH_START = "MM-01";
  public static final String DATE_FORMAT_YEAR_START = "yyyy-01-01 00:00:00";
  public static final String DATE_FORMAT_YEAR_END = "yyyy-MM-dd 23:00:00";
  public static final String DATE_FORMAT_HHMMSS = "HH:mm:ss";
  public static final String DATE_FORMAT_TMHHMM = "HH:mm";
  public static final String DATE_FORMAT_TMHHMM_CN = "HH时mm分";
  public static final String DATE_FORMAT_TMHH_CN = "HH时";
  public static final String DATE_FORMAT_START_PEREND = "00:00:00";
  public static final String DATE_FORMAT_END_PEREND = "23:59:59";
  public static final String DATE_FORMAT_HHMM = "yyyy-MM-dd HH:mm";
  public static final String DATE_FORMAT_HH = "yyyy-MM-dd HH";
  public static final String DATE_FORMAT_HH_All = "yyyy-MM-dd HH:00:00";
  public static final String DATE_FORMAT_HH_WX_TIME = "yyyy年MM月dd日 HH:mm";
  public static final String TIME_ZONE_GMT8 = "GMT+8";
  public static final String DATE_FORMAT_MD_CNST = "MM月dd日";
  public static final String DATE_FORMAT_DAY = "dd日";
  // 后台管理员操作资金mark.
  public static final String USER_BILL_OPERATE_LOG_TITLE = "{$title}{$operate}了{$value}{$founds}";

  // config表数据redis.
  public static final String CONFIG_LIST = "config_list"; // 配置列表
  // 默认分页.
  public static final int DEFAULT_PAGE = 1;
  // 默认分页.
  public static final int DEFAULT_LIMIT = 20;
  // 升序排序.
  public static final String SORT_ASC = "asc";
  // 降序排序.
  public static final String SORT_DESC = "desc";
  // .导出最大数值
  public static final Integer EXPORT_MAX_LIMIT = 99999;
  // 商品最多选择的分类数量
  public static final Integer PRODUCT_SELECT_CATEGORY_NUM_MAX = 10;
  // 上传类型
  // public static final String UPLOAD_TYPE_IMAGE = "image";
  public static final String UPLOAD_TYPE_IMAGE = "res";
  // 文件上传路径前缀
  public static final String UPLOAD_PRE_URK = "/showfile/";
  // 上传类型
  public static final String UPLOAD_TYPE_FILE = "file";
  // public static final String UPLOAD_ROOT_PATH_CONFIG_KEY = "upload_root_path";//上传地址
  public static final String UPLOAD_MODEL_PATH_EXCEL = "excel"; // excel
  // 图片上传
  public static final String UPLOAD_IMAGE_EXT_STR_CONFIG_KEY = "image_ext_str"; // 图片上传
  public static final String UPLOAD_IMAGE_MAX_SIZE_CONFIG_KEY = "image_max_size";
  // 文件上传
  public static final String UPLOAD_FILE_EXT_STR_CONFIG_KEY = "file_ext_str";
  // 最大上传文件
  public static final String UPLOAD_FILE_MAX_SIZE_CONFIG_KEY = "file_max_size";
  // 验证码过期时间
  public static final String CONFIG_KEY_SMS_CODE_EXPIRE = "sms_code_expire";
  public static final String FAIL = "FAIL";
  public static final String SUCCESS = "SUCCESS";
  // 时间类型开始时间
  public static final String DATE_TIME_TYPE_BEGIN = "begin";
  // 时间类型结束时间
  public static final String DATE_TIME_TYPE_END = "end";

  // 消息模板队列key
  public static final String WE_CHAT_MESSAGE_KEY_PUBLIC = "we_chat_public_message_list";
  public static final String WE_CHAT_MESSAGE_KEY_PROGRAM = "we_chat_program_message_list";
  public static final String WE_CHAT_MESSAGE_INDUSTRY_KEY = "we_chat_message_industry";
  public static final String CONFIG_KEY_PAY_WE_CHAT_APP_ID = "pay_weixin_appid"; // 公众号appId
  public static final String CONFIG_KEY_PAY_WE_CHAT_MCH_ID = "pay_weixin_mchid"; // 公众号配的商户号
  public static final String CONFIG_KEY_PAY_WE_CHAT_APP_SECRET = "pay_weixin_appsecret"; // 公众号秘钥
  public static final String CONFIG_KEY_PAY_WE_CHAT_APP_KEY = "pay_weixin_key"; // 公众号支付key
  public static final String CONFIG_KEY_PAY_ROUTINE_APP_ID = "pay_routine_appid"; // 小程序appId
  public static final String CONFIG_KEY_PAY_ROUTINE_MCH_ID = "pay_routine_mchid"; // 小程序分配的商户号
  public static final String CONFIG_KEY_PAY_ROUTINE_APP_SECRET = "pay_routine_appsecret"; // 小程序秘钥
  public static final String CONFIG_KEY_PAY_ROUTINE_APP_KEY = "pay_routine_key"; // 小程序支付key

  public static final String CONFIG_KEY_PAY_WE_CHAT_APP_APP_ID = "pay_weixin_app_appid"; // 公众号appId
  public static final String CONFIG_KEY_PAY_WE_CHAT_APP_MCH_ID = "pay_weixin_app_mchid"; // 公众号配的商户号
  public static final String CONFIG_KEY_PAY_WE_CHAT_APP_APP_KEY = "pay_weixin_app_key"; // 公众号支付key
  public static final String ORDER_NO_PREFIX_WE_CHAT = "wx"; // 微信平台下单订单号前缀
  public static final String ORDER_NO_PREFIX_H5 = "h5"; // 微信平台下单订单号前缀
  /** 公共JS配置. */
  public static final String JS_CONFIG_CHAT_TONGJI = "bytezt_tongji_js";
  //璧山预警platform的编码
  public static final String PLATFORM = "SMSSQXB";
  //通道类型
  public static final Integer CALL = 1;//电话
  public static final Integer MESSAGE = 2;//短信
  public static final Integer WX = 3;//公众号
  public static final Integer FAX = 4;//传真
  public static final Integer OTHER = 0;//传真

  //常用符号
  public static final String DH = ",";


  public static final String MISSION_SK_DAY = "mission:writeSkDayData";//实况日数据拉取任务


}
